Skip to content

fix(windows): handle executable suffix separately from target identifier#140

Closed
leaked wants to merge 1 commit into
phoenixframework:mainfrom
leaked:main
Closed

fix(windows): handle executable suffix separately from target identifier#140
leaked wants to merge 1 commit into
phoenixframework:mainfrom
leaked:main

Conversation

@leaked

@leaked leaked commented Jun 16, 2026

Copy link
Copy Markdown

No description provided.

Comment thread lib/tailwind.ex
Comment on lines +558 to +562
target =
case target_for_version(version) do
"windows-x64" -> "windows-x64.exe"
other -> other
end

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this work as well? So we hardcode windows in fewer places?

Suggested change
target =
case target_for_version(version) do
"windows-x64" -> "windows-x64.exe"
other -> other
end
target = target_for_version(version) <> executable_suffix()

@SteffenDE SteffenDE closed this in 8bc0041 Jun 16, 2026
@SteffenDE

Copy link
Copy Markdown
Member

Thank you, fixed manually on main, released in 0.5.1!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants